﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Longtop.Web.WebSite.Shared.SiteMasterModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>
        <%=Model.ApplicationName%></title>

    <script src="../../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>

    <link href="../../content/admin/css/mainFrom.css" rel="stylesheet" type="text/css" />
    <link href="../../content/admin/css/login.css" type="text/css" rel="stylesheet" />
    <link href="../../Scripts/jquery-message/jquery.message.css" rel="stylesheet" type="text/css" />

    <script src="../../Scripts/jquery-message/jquery.message.js" type="text/javascript"></script>

</head>
<body>
    <% using (Html.BeginForm()) { %>
    <div id="position">
        <div id="inposition">
            <div class="login-left">
                <div class="login-left-logo">
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<%=Model.ApplicationName %>
                </div>
                <div class="login-left-content">
                    <ul>
                        <li>标签式后台管理</li>
                        <li>业绩管理、业绩报表统计</li>
                    </ul>
                    <ul>
                        <li>帐户多部门,多角色支持</li>
                        <li>从excel文档导入业绩，支持数据验证,即时编辑 </li>
                        <li>用户体验优化 </li>
                        <li>必要功能均已完善,可以在真实数据场合使用</li>
                    </ul>
                </div>
                <div class="login-left-sever">
                    <a href="#">下一版本发布预告</a>
                </div>
            </div>
            <div class="login-right">
                <div id="UpdatePanel1">
                    <div class="login-right-title">
                    </div>
                    <div class="login-right-input">
                        <%=Html.ValidationSummary(true) %>
                        <table cellspacing="0" cellpadding="0" width="200" border="0">
                            <tr>
                                <td id="tdLeft" nowrap="nowrap" align="right" style="width: 75px; height: 17px;">
                                    帐 户：
                                </td>
                                <td style="width: 149px; height: 17px">
                                    <%= Html.TextBox("username", "", new { Class = "input" })%>
                                    <%= Html.ValidationMessage("username") %>
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 15px; width: 75px;" align="right">
                                    密 码：
                                </td>
                                <td style="height: 15px; width: 149px;">
                                    <%= Html.Password("password","", new { Class="input"}) %>
                                    <%= Html.ValidationMessage("password") %>
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 15px; width: 75px;" align="right">
                                </td>
                                <td style="height: 15px; width: 149px;">
                                    <label>
                                        <%= Html.CheckBox("rememberMe") %>
                                        <label for="rememberMe">
                                            记住我?</label></label>
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 6px; width: 75px;" align="right">
                                </td>
                                <td style="height: 6px; width: 149px;" nowrap="nowrap">
                                    <%=Html.SubmitButton("login","登录",new{Class="button"}) %>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="header">
    </div>
    <div id="content">
        <img src="../../content/admin/images/login-wel.gif" alt="" />
    </div>
    <div id="buttom">
        <div class="copy2">
            Longtop online © 2010
        </div>
        <%-- <div class="copy">
            <img src="../../content/admin/images/login-copy.gif" alt="" /></div>--%>
    </div>

    <script type="text/javascript">
        $(function() {
            $.message.defaults.url = '<%=Url.Action("nextpublish","home") %>';
            $('div.login-left-sever a').click(function() {
                $().message();
            });
        });
    </script>

    <%--  <div>
        <div class="z_login_box">
            <div class="z_systemname">
               <%=Model.ApplicationName%></div>
            <div class="z_prompt">
                <%= Html.ValidationSummary("Login was unsuccessful. Please correct the errors and try again.") %>
            </div>
            <div class="z_inputbox">
                <div class="textbox">
                    <div style="padding-top: 4px">
                        <%= Html.TextBox("username", "", new { Class="inputtext"})%>
                        <%= Html.ValidationMessage("username") %>
                    </div>
                    <div style="padding-top: 14px">
                        <%= Html.Password("password","", new { Class="inputtext"}) %>
                        <%= Html.ValidationMessage("password") %>
                    </div>
                </div>
                <ul class="bottombox">
                    <li>
                        <input type="image" src="/content/Admin/images/login_btn.gif" /></li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <div class="z_record">
                <label>
                    <%= Html.CheckBox("rememberMe") %>
                    <label class="inline" for="rememberMe">
                        记住我?</label></label>
            </div>
        </div>
    </div>
    <div class="z_footer">
        Longtop online © 2010</div>--%>
    <%} %>
</body>
</html>
